import { post } from "../request"

type LoginRequest = {
    username : String,
    password : String
}

export const login = (loginRequest:LoginRequest) => {
    return post('/login',loginRequest)
}